package Class抽象类接口;
//实例内部类
class OutClass_2 {
    public int data1 = 1;
    private  int data2 = 2;
    public static int data3 = 3;
    class InnerClass_2 {
        public int data1 = 111;
        public int data4 = 4;
        private  int data5 = 5;
        public static final int data6 = 6;
        public void test() {
            System.out.println(data1);
            System.out.println(OutClass_2.this.data1);
            System.out.println(data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    }
}
public class Test_2 {
    public static void main(String[] args) {
        OutClass_2 out = new OutClass_2();
        OutClass_2.InnerClass_2 inner = out.new InnerClass_2();

        inner.test();
    }
}

